export interface User {
  avatar: string;
  username: string;
  password: string;
  nickname: string;
}

export type Priority = "normal" | "important" | "crucial";

export interface Todo {
  id: number;
  title: string;
  description: string;
  priority: Priority;
  finished_at: string;
  created_at: string;
  user_id: number;
}

export type TodoForm = Pick<Todo, "title" | "description" | "priority">;
